<script setup lang="ts">
    import { useStore } from './store'

    const store = useStore()

    store.commit('SET_USERNAME', '李四')
    console.log(store.getters.getName)
</script>

<template>

</template>

<style>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}
</style>
